ASSEMBLY_COMPILER_COMMAND = gmcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG
BUILD_DIR = ../../build/
ASSEMBLY_NAME=Galaxium.AdiumThemes
ASSEMBLY = $(BUILD_DIR)$(ASSEMBLY_NAME).dll

ASSEMBLY_WRAPPER = 
ASSEMBLY_WRAPPER_IN = 

PC_FILES =
PC_FILES_IN =

COMPILE_TARGET = library

REFERENCES =  \
	$(GLADE_SHARP_LIBS) \
	$(GLIB_SHARP_LIBS) \
	$(GTK_SHARP_LIBS) \
	-pkg:anculus-core \
	-r:../../build/Galaxium.Client.dll \
	-r:../../build/Galaxium.Core.dll \
	-r:../../build/Galaxium.Gui.dll \
	-r:../../build/Galaxium.Gui.GtkGui.dll \
	-r:../../build/Galaxium.Protocol.dll \
	-r:ICSharpCode.SharpZipLib \
	-r:System \
	-r:System.Drawing \
	-r:System.Web \
	-r:System.Xml

RESOURCES =  \
	Galaxium.AdiumThemes.addin \
	GtkAdiumMessageDisplayPreferences.glade \
	Template.html 
EXTRAS = 
DATA_FILES = 

FILES =  \
	Emoticons/AdiumEmoticon.cs \
	Emoticons/AdiumEmoticonFactory.cs \
	Emoticons/AdiumEmoticonSet.cs \
	MessageDisplay/AdiumMessageDisplay.cs \
	MessageStyles/AdiumMessageStyle.cs \
	MessageStyles/AdiumMessageStyleFactory.cs \
	PList.cs \
	Preferences/GtkAdiumMessageDisplayPreferences.cs \
	SoundSets/AdiumSound.cs \
	SoundSets/AdiumSoundFactory.cs \
	SoundSets/AdiumSoundSet.cs \
	Utilities/ArchiveUtility.cs

GENERATED_FILES = AssemblyInfo.cs

if ENABLE_ADIUM
all: $(ASSEMBLY)
else
all:
endif

$(ASSEMBLY) $(ASSEMBLY).mdb: $(build_sources) $(build_resources) $(build_datafiles) 
	mkdir -p $(dir $(ASSEMBLY))		
	$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$@ -target:$(COMPILE_TARGET) $(build_sources) $(build_resources_embed) $(build_references_ref)

include $(top_srcdir)/Makefile.include
